import swRequest from './index'
//热门搜索
export function getHotSearch(){
  return swRequest.get('/search/hot')
}

// 搜索建议
export function getSearchSuggest(keywords){
  return swRequest.get('/search/suggest',{
    keywords,
    type:'mobile'
  })
}
//搜索结果
export function getSearchResult(keywords){
  return swRequest.get('/search',{
    keywords
  })
}
